﻿@model IEnumerable<DLM.Domain.Model.Photo>
<h3>
    相册</h3>
<div class="tr clearfix">
    &nbsp;&nbsp;操作:&nbsp;&nbsp;
    <input type="submit" class="btn_s" value="删除" />
    <input type="hidden" id="hdIsDelete" name="hdIsDelete" />
</div>
<div class="tr clearfix">
    <div class="upload_photo_box">
        <input name="uploadFile" type="file" class="file" />
        <input type="submit" class="btn" value="上传" />
    </div>

        <div class="party_album">

        @if (Model != null)
    {
        foreach (var item in Model.OrderByDescending(c => c.CreateDate))
        {
        <a onclick="showPhoto(this);" href="@Url.Content("~/Files/Photos/" + item.UserID + "/Album/" + item.Url)" >
            <img alt="活动相册" src="@Url.Content("~/Files/Photos/" + item.UserID + "/Album/Thumb/" + item.Url)"  />
            <input onclick="stopBubble(this);" type="checkbox" id="checkedId" name="checkedId" value="@item.PhotoID" class="checkbox" />
        </a>
        }
    }
 
</div>
</div>



@*<div class="party_album">
    @if (Model != null)
    {
        foreach (var item in Model.OrderByDescending(c => c.CreateDate))
        {
        <a onclick="showPhoto(this);" href="@Url.Content("~/Files/Photos/" + item.UserID + "/Album/" + item.Url)" >
            <img alt="活动相册" src="@Url.Content("~/Files/Photos/" + item.UserID + "/Album/Thumb/" + item.Url)"  />
            <input type="checkbox" id="checkedId" name="checkedId" value="@item.PhotoID" class="checkbox" />
        </a>
        }
    }
</div>*@
